package com.demo.jdkproxy;

/**
 * Created by chenhe17596 on 2017/6/24.
 */
public class CarInfo {
    String serialNo;
    int price;
    float weight;

    public CarInfo(String serialNo, int price, float weight) {
        this.serialNo = serialNo;
        this.price = price;
        this.weight = weight;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "CarInfo{" +
                "serialNo='" + serialNo + '\'' +
                ", price=" + price +
                ", weight=" + weight +
                '}';
    }
}
